From: Daniel Golle Date: Wed, 28 Oct 2020 01:39:34 +0000 (+0000) Subject: jail: relax seccomp unknown syscall handling X-Git-Url: http://git.openwrt.org/%22https:/collectd.org//%22http:/www.crowdsec.net/%22/%22https:/collectd.org/%22http:/www.crowdsec.net/%22?a=commitdiff_plain;h=6963d5032b51739ad953064da035d1a74c61f7cb;p=project%2Fprocd.git jail: relax seccomp unknown syscall handling Signed-off-by: Daniel Golle --- diff --git a/jail/seccomp-oci.c b/jail/seccomp-oci.c index 06fa2d1..bc9a491 100644 --- a/jail/seccomp-oci.c +++ b/jail/seccomp-oci.c @@ -221,7 +221,8 @@ struct sock_fprog *parseOCIlinuxseccomp(struct blob_attr *msg) sc = find_syscall(blobmsg_get_string(curn)); if (sc == -1) { ERROR("unknown syscall '%s'\n", blobmsg_get_string(curn)); - goto errout1; + /* TODO: support run.oci.seccomp_fail_unknown_syscall=1 annotation */ + continue; } /* add rule to filter */